package com.pair.micro.fee.modules.charge.convert;

import com.pair.micro.fee.modules.charge.entity.GardenGridEntity;
import com.pair.micro.fee.modules.charge.entity.RoomOwnerEntity;
import com.pair.micro.fee.modules.charge.vo.GardenGridVO;
import com.pair.micro.fee.modules.charge.vo.RoomOwnerVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 业主信息管理
 *
 * @author xubz
 *
 */
@Mapper
public interface GardenGridConvert {
    GardenGridConvert INSTANCE = Mappers.getMapper(GardenGridConvert.class);

    GardenGridEntity convert(GardenGridVO vo);

    GardenGridVO convert(GardenGridEntity entity);

    List<GardenGridVO> convertList(List<GardenGridEntity> list);

}